program ss;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Interfaces, // this includes the LCL widgetset
  Forms, memdslaz, laz_fpspreadsheet, pack_powerpdf,
  zcomponent, main, storehouses, nomenclature, nomenclaturecreateeditgroup,
  nomenclaturecreateedit, counterparties, counterpartiescreateedit,
  counterpartiescreateeditgroup, cominginvoiceelement, cominginvoiceslist,
  nomenclatureselect, counterpartiesselect, outputinvoiceslist,
  storehouseselect, outputinvoiceselement, reportslist, supply,
  returngoodstosupplierelement, tests, trade, groupselect, settings, login,
  pricelist, lazreportpdfexport, history, about, cashregister;

{$R *.res}

begin
  Application.Title:='Small Business';
  RequireDerivedFormResource := True;
  Application.Initialize;
  Application.CreateForm(TfrmMain, frmMain);
  Application.CreateForm(TfrmAbout, frmAbout);
  Application.CreateForm(TfrmStoreHouses, frmStoreHouses);
  Application.CreateForm(TfrmNomenclature, frmNomenclature);
  Application.CreateForm(TfrmNomenclatureCreateEditGroup, 
    frmNomenclatureCreateEditGroup);
  Application.CreateForm(TfrmNomenclatureCreateEdit, frmNomenclatureCreateEdit);
  Application.CreateForm(TfrmCounterParties, frmCounterParties);
  Application.CreateForm(TfrmCounterPartiesCreateEdit, 
    frmCounterPartiesCreateEdit);
  Application.CreateForm(TfrmCounterPartiesCreateEditGroup, 
    frmCounterPartiesCreateEditGroup);
  Application.CreateForm(TfrmComingInvoiceElement, frmComingInvoiceElement);
  Application.CreateForm(TfrmComingInvoicesList, frmComingInvoicesList);
  Application.CreateForm(TfrmNomenclatureSelect, frmNomenclatureSelect);
  Application.CreateForm(TfrmCounterPartiesSelect, frmCounterPartiesSelect);
  Application.CreateForm(TfrmOutPutInvoicesList, frmOutPutInvoicesList);
  Application.CreateForm(TfrmStoreHouseSelect, frmStoreHouseSelect);
  Application.CreateForm(TfrmOutputInvoicesElement, frmOutputInvoicesElement);
  Application.CreateForm(TfrmReportsList, frmReportsList);
  Application.CreateForm(TfrmSupply, frmSupply);
  Application.CreateForm(TfrmReturnGoodsToSupplierElement, 
    frmReturnGoodsToSupplierElement);
  Application.CreateForm(TfrmTests, frmTests);
  Application.CreateForm(TfrmTrade, frmTrade);
  Application.CreateForm(TfrmGroupSelect, frmGroupSelect);
  Application.CreateForm(TfrmSettings, frmSettings);
  Application.CreateForm(TfrmLogin, frmLogin);
  Application.CreateForm(TfrmPriceList, frmPriceList);
  Application.CreateForm(TfrmHistory, frmHistory);
  Application.CreateForm(TfrmCashRegister, frmCashRegister);
  Application.Run;
end.

